home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 5_5.lha / 5_5 / 5_5x2.c < prev    next >
Text File  |  1993-08-08  |  212b  |  8 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. xpr x("123/4+123*4-3");
  6. out << "x = " << x.eval() << "\n";
  7. .print();
  8.